<div class='fui-page fui-page-current member-log-page'>
    <div class='fui-content' >
		<div class="fui-tab fui-tab-success">
			<a ng-class="{'active':pagedata.params.type==0}" class="external" href="javascript:;" ng-click="pagedata.params.type=0;tool.get_list('/merch.peisong_orderfee/list/',true)">日常配送费</a>
			<a ng-class="{'active':pagedata.params.type==1}" class="external" href="javascript:;" ng-click="pagedata.params.type=1;tool.get_list('/merch.peisong_orderfee/list/',true)">订单奖励</a>
			<a ng-class="{'active':pagedata.params.type==2}" class="external" href="javascript:;" ng-click="pagedata.params.type=2;tool.get_list('/merch.peisong_orderfee/list/',true)">超额奖励</a>
			<a ng-class="{'active':pagedata.params.type==3}" class="external" href="javascript:;" ng-click="pagedata.params.type=3;tool.get_list('/merch.peisong_orderfee/list/',true)">好评奖励</a>
		</div>
        <div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
            <i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
        </div>
        <div class='fui-list-group container' ng-show="pagedata.list.length>0" >
			<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
				<div class="fui-list-media">
					<img ng-if="item.member.avatar" ng-src="{{tomedia(item.member.avatar)}}" class="round" style="width:2.5rem;height:2.5rem">
					<i ng-if="!item.member.avatar" class="icon icon-my2"></i>
				</div>
				<div class="fui-list-inner">
					<div class="row">
					  {{item.username}}
					</div>
					<div class='title'>
						<span class="label label-success">{{item.typetitle}}</span>
						<span class="red">金额:{{item.get_money}}</span>
					</div>
					<div class='gray'>订单号：{{item.ordersn}}</div>
					<div class='gray'>时间：{{item.createtime}}</div>
				</div>
				<div class='fui-list-angle'>
					<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.statustitle}}</span>
				</div>
			</div>
		</div>
    </div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('/merch.peisong_orderfee/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('/merch.peisong_orderfee/list/');
}
</script>